﻿

namespace D.Domain.SystemDomain.SysUserDomain.Events
{
    /// <summary>
    /// 领域事件
    /// </summary>
    /// <param name="PhoneNumberVo"></param>
    /// <param name="EnumSysAdminLoginResult"></param>
    public record class SysUserLoginResultEvent(PhoneNumberVo PhoneNumberVo, EnumSysAdminLoginResult EnumSysAdminLoginResult) : INotification;

    /// <summary>
    /// 登录结果
    /// </summary>
    public enum EnumSysAdminLoginResult
    {
        OK,
        Lockout,
        NoPassword,
        PasswordError,
        PhoneNumberNotFound,
    }
}
